<div class="fui-page fui-page-current member-log-page">
	<div class="fui-content">
		<div class="weui_cells_title" ><strong class="am-text-danger am-text-lg" style="font-size: 0.8rem;">提现申请</strong> / <small>Real&nbsp;wallettakeform</small></div>
		<div class="weui_cells weui_cells_form">
			<div class="weui_cell">
				<div class="weui_cell_hd"><label class="weui_label">提现金额</label></div>
				<div class="weui_cell_bd weui_cell_primary">
					<input class="weui_input" type="text" ng-model="pagedata.info.money" placeholder="输入提现金额">
				</div>
			</div>
			<div class="weui_cell">
				<div class="weui_cell_hd"><label class="weui_label">手续费用</label></div>
				<div class="weui_cell_bd weui_cell_primary">
					<input class="weui_input" type="text" id="charge" ng-model="pagedata.info.mission" disabled>
				</div>
			</div>
			<div class="weui_cell">
				<div class="weui_cell_hd"><label class="weui_label">账 户 名</label></div>
				<div class="weui_cell_bd weui_cell_primary">
					<input class="weui_input" type="text" id="charge" ng-model="pagedata.info.name" required>
				</div>
			</div>
			<div class="weui_cell">
				<div class="weui_cell_hd"><label class="weui_label">开户银行</label></div>
				<div class="weui_cell_bd weui_cell_primary">
					<input class="weui_input" type="text" id="charge" ng-model="pagedata.info.bank" required>
				</div>
			</div>
			<div class="weui_cell">
				<div class="weui_cell_hd"><label class="weui_label">银行账号</label></div>
				<div class="weui_cell_bd weui_cell_primary">
					<input class="weui_input" type="text" id="charge" ng-model="pagedata.info.account" required>
				</div>
			</div>
			<div class="weui_cell">
				<div class="weui_cell_hd"><label class="weui_label">银行地址</label></div>
				<div class="weui_cell_bd weui_cell_primary">
					<input class="weui_input" type="text" id="charge" ng-model="pagedata.info.address" required>
				</div>
			</div>
			<div class="weui_cell">
				<div class="weui_cell_hd"><label class="weui_label">手机号码</label></div>
				<div class="weui_cell_bd weui_cell_primary">
					<input class="weui_input" type="text" id="charge" ng-model="pagedata.info.phone" required>
				</div>
			</div>
		</div>
		<div class="weui_cells_title">留言</div>
		<div class="weui_cells weui_cells_form">
				<div class="weui_cell">
					<div class="weui_cell_bd weui_cell_primary">
						<textarea class="weui_textarea" ng-model="pagedata.post.remark" placeholder="留言" rows="3"></textarea>
						<div class="weui_textarea_counter">建议68个字以内！</div>
					</div>
				</div>
		</div>
	
		<div class="weui_btn_area">
			<a class="weui_btn weui_btn_primary" href="javascript:" ng-click="post(pagedata.info,'post')">确认提现</a>
		</div>
	</div>
</div>
<script type="text/javascript">
$('#money').bind('input propertychange', function () {
            var money = $(this).val();
			var params = {
								'plugin':'jy_jdpm',
								'action':'member.wallettakeform',
								'op':'getcharge',
								'query':'&money='+money,
								'callback':function(data){
									console.log(data)
										if(data.charge){
											$('#charge').val(data.charge);
										}else{
											console.log('error');
										};
								}
					}
			scope.post_json(params);
});
</script>